///<reference path="export.d.ts" />
let { AppSetting, ContainerHost, Modules } = NBYC;
class Program {
    Main() {
        let setting = new AppSetting();
        setting.ViewerEnableGui = "1";
        setting.ViewerEnableGL2 = false;
        setting.ViewerElementId = 'viewer-element';

        ContainerHost.Current.Set(AppSetting, () => setting);
        let modules = Object.values(Modules);
        modules.forEach(_ => ContainerHost.Current.Get(_));
    }
}
new Program().Main();